﻿@model MvcAtletIS.Models.CheckPoints

@{
    ViewBag.Title = "Check-pointy";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Check-pointy: @ViewBag.DisciplineList.Name</h2>

<fieldset>
    <legend>Zmazať check point</legend>

    <div class="display-label">
        @Html.LabelFor(model=>model.OrderInDiscipline)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.OrderInDiscipline)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.Name)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Name)
    </div>

</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Zmazať" /> |
        @Html.ActionLink("Naspäť na prehľad check-pointov", "Index", new { disciplineListId = ViewBag.DisciplineList.ID})
    </p>
}
